import {Base} from'../../utils/base.js';

class Model extends Base{
  constructor(){
    super();
  }

  getList(data,success){
    this.request({
      url: '/mendian',
      data,
      success: function (res) {
        success && success(res)
      }
    });
  }

  getInfo(id,success){
    this.request({
      url:'/mendian/'+id,
      success:(res)=>{
        success&&success(res);
      }
    });
  }

}

const contactModel=new Model();

export{contactModel};